//
//  DepartmentViewCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/2/9.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class DepartmentViewCell: UICollectionViewCell {
    
    func configure(with vm: DepartmentViewModel.RowViewModel) {
        departmentLabel.text = vm.departmentName
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        backgroundColor = UIColor.mainColorLight
        layer.cornerRadius = 10
        layer.masksToBounds = true
    }
    
    @IBOutlet private weak var departmentLabel: UILabel!

}
